            $(document).ready(function(){

                $("ul.sf-menu").supersubs({
                    minWidth:    12,   // minimum width of sub-menus in em units
                    maxWidth:    50,   // maximum width of sub-menus in em units
                    extraWidth:  5     // extra width can ensure lines don't sometimes turn over
                    // due to slight rounding differences and font-family
                }).superfish();  // call supersubs first, then superfish, so that subs are
                // not display:none when measuring. Call before initialising
                // containing tabs for same reason.
            });